#include <iostream>
#include <vector>
using namespace std;

int main()
{
	int n = 0; int b = 0;
	cin >> n;
	int j = 0; int o = 0;
	for (int i = 0; i < n; i++)
	{
		cin >> b;
		if (b % 2 == 0)
			++o;
		else
			++j;
	}
	if ((o >= 2 && j >= 1) || j >= 3)
	{
		cout << "YES";
	}
	else
	{
		cout << "NO";
	}
	return 0;
}